package top.superflow.flow.load

import top.superflow.inner.micro.flow.rule.RuleConfig
import top.superflow.json.util.JsonUtils

class RuleLoader extends Loader[RuleConfig]{
  
  def load(json : Any) : RuleConfig = {
    JsonUtils.readJson[RuleConfig](json, classOf[RuleConfig])
  }
}